package com.ruoyi.memo.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 便签对象 memo_note
 *
 * @author ruoyi
 * @date 2025-06-10
 */
public class MemoNote extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 便签ID */
    private Long noteId;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 重要性（1最重要 2中等 3一般） */
    @Excel(name = "重要性", readConverterExp = "1=最重要,2=中等,3=一般")
    private String importance;

    /** 删除标志（0存在 2删除） */
    private String delFlag;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long userId;

    public void setNoteId(Long noteId)
    {
        this.noteId = noteId;
    }

    public Long getNoteId()
    {
        return noteId;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setImportance(String importance)
    {
        this.importance = importance;
    }

    public String getImportance()
    {
        return importance;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("noteId", getNoteId())
                .append("title", getTitle())
                .append("content", getContent())
                .append("importance", getImportance())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("delFlag", getDelFlag())
                .append("userId", getUserId())
                .append("remark", getRemark())
                .toString();
    }
}
